# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=backorifice
pkgver=1.0
pkgrel=3
pkgdesc='A remote administration system which allows a user to control a computer across a tcpip connection using a simple console or GUI application.'
url='http://www.cultdeadcow.com/tools/bo.html'
groups=('blackarch' 'blackarch-windows' 'blackarch-backdoor')
license=('custom:unknown')
arch=('any')
makedepends=('unzip')
source=('https://dl.packetstormsecurity.net/trojans/bo/bo.zip')
noextract=('bo.zip')
sha512sums=('7dd7c47d9af292f1eb67f13e1cf73d3f1d44da1caa446b936dff163cc943405a4d17621a9bbfb94b99feb8165c3f2ead438a7995d8a64fc0cdc5d46e8b7a840e')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  unzip -P p4ssw0rd bo.zip

  rm bo.zip

  cp -a * "$pkgdir/usr/share/windows/$pkgname/"
}

